Public Class RegistrationInstructions
Inherits Message

'Component: Header
Private m_Header As Header

<FieldInfo(GetType(Header), 0)> _
Public Property Header() As Header
Get
Return m_Header
End Get
Set (value As Header)
m_Header = value
End Set
End Property



Private m_RegistID As String

<FieldInfo(GetType(RegistIDFieldInfo), 1)> _
Public Property RegistID() As String
Get
Return m_RegistID
End Get
Set (value As String)
m_RegistID = value
End Set
End Property

Private m_RegistTransType As Char

<FieldInfo(GetType(RegistTransTypeFieldInfo), 2)> _
Public Property RegistTransType() As Char
Get
Return m_RegistTransType
End Get
Set (value As Char)
m_RegistTransType = value
End Set
End Property

Private m_RegistRefID As String

<FieldInfo(GetType(RegistRefIDFieldInfo), 3)> _
Public Property RegistRefID() As String
Get
Return m_RegistRefID
End Get
Set (value As String)
m_RegistRefID = value
End Set
End Property

Private m_ClOrdID As String

<FieldInfo(GetType(ClOrdIDFieldInfo), 4)> _
Public Property ClOrdID() As String
Get
Return m_ClOrdID
End Get
Set (value As String)
m_ClOrdID = value
End Set
End Property

'Component: Parties
Private m_Parties As Parties

<FieldInfo(GetType(Parties), 5)> _
Public Property Parties() As Parties
Get
Return m_Parties
End Get
Set (value As Parties)
m_Parties = value
End Set
End Property

Private m_Account As String

<FieldInfo(GetType(AccountFieldInfo), 6)> _
Public Property Account() As String
Get
Return m_Account
End Get
Set (value As String)
m_Account = value
End Set
End Property

Private m_AcctIDSource As AcctIDSource

<FieldInfo(GetType(AcctIDSourceFieldInfo), 7)> _
Public Property AcctIDSource() As AcctIDSource
Get
Return m_AcctIDSource
End Get
Set (value As AcctIDSource)
m_AcctIDSource = value
End Set
End Property

Private m_RegistAcctType As String

<FieldInfo(GetType(RegistAcctTypeFieldInfo), 8)> _
Public Property RegistAcctType() As String
Get
Return m_RegistAcctType
End Get
Set (value As String)
m_RegistAcctType = value
End Set
End Property

Private m_TaxAdvantageType As TaxAdvantageType

<FieldInfo(GetType(TaxAdvantageTypeFieldInfo), 9)> _
Public Property TaxAdvantageType() As TaxAdvantageType
Get
Return m_TaxAdvantageType
End Get
Set (value As TaxAdvantageType)
m_TaxAdvantageType = value
End Set
End Property

Private m_OwnershipType As Char

<FieldInfo(GetType(OwnershipTypeFieldInfo), 10)> _
Public Property OwnershipType() As Char
Get
Return m_OwnershipType
End Get
Set (value As Char)
m_OwnershipType = value
End Set
End Property

'Group: NoRegistDtls
Private m_NoRegistDtls As New List(Of NoRegistDtlsGroup)

<FieldInfo(GetType(NoRegistDtlsGroup), 11)> _
Public ReadOnly Property NoRegistDtls As List(Of NoRegistDtlsGroup)
Get
Return m_NoRegistDtls
End Get
End Property

Public Class NoRegistDtlsGroup
Inherits Group

Private m_RegistDtls As String

<FieldInfo(GetType(RegistDtlsFieldInfo), 0)> _
Public Property RegistDtls() As String
Get
Return m_RegistDtls
End Get
Set (value As String)
m_RegistDtls = value
End Set
End Property

Private m_RegistEmail As String

<FieldInfo(GetType(RegistEmailFieldInfo), 1)> _
Public Property RegistEmail() As String
Get
Return m_RegistEmail
End Get
Set (value As String)
m_RegistEmail = value
End Set
End Property

Private m_MailingDtls As String

<FieldInfo(GetType(MailingDtlsFieldInfo), 2)> _
Public Property MailingDtls() As String
Get
Return m_MailingDtls
End Get
Set (value As String)
m_MailingDtls = value
End Set
End Property

Private m_MailingInst As String

<FieldInfo(GetType(MailingInstFieldInfo), 3)> _
Public Property MailingInst() As String
Get
Return m_MailingInst
End Get
Set (value As String)
m_MailingInst = value
End Set
End Property

'Component: NestedParties
Private m_NestedParties As NestedParties

<FieldInfo(GetType(NestedParties), 4)> _
Public Property NestedParties() As NestedParties
Get
Return m_NestedParties
End Get
Set (value As NestedParties)
m_NestedParties = value
End Set
End Property

Private m_OwnerType As OwnerType

<FieldInfo(GetType(OwnerTypeFieldInfo), 5)> _
Public Property OwnerType() As OwnerType
Get
Return m_OwnerType
End Get
Set (value As OwnerType)
m_OwnerType = value
End Set
End Property

Private m_DateOfBirth As DateTime

<FieldInfo(GetType(DateOfBirthFieldInfo), 6)> _
Public Property DateOfBirth() As DateTime
Get
Return m_DateOfBirth
End Get
Set (value As DateTime)
m_DateOfBirth = value
End Set
End Property

Private m_InvestorCountryOfResidence As String

<FieldInfo(GetType(InvestorCountryOfResidenceFieldInfo), 7)> _
Public Property InvestorCountryOfResidence() As String
Get
Return m_InvestorCountryOfResidence
End Get
Set (value As String)
m_InvestorCountryOfResidence = value
End Set
End Property


End Class



'Group: NoDistribInsts
Private m_NoDistribInsts As New List(Of NoDistribInstsGroup)

<FieldInfo(GetType(NoDistribInstsGroup), 12)> _
Public ReadOnly Property NoDistribInsts As List(Of NoDistribInstsGroup)
Get
Return m_NoDistribInsts
End Get
End Property

Public Class NoDistribInstsGroup
Inherits Group

Private m_DistribPaymentMethod As DistribPaymentMethod

<FieldInfo(GetType(DistribPaymentMethodFieldInfo), 0)> _
Public Property DistribPaymentMethod() As DistribPaymentMethod
Get
Return m_DistribPaymentMethod
End Get
Set (value As DistribPaymentMethod)
m_DistribPaymentMethod = value
End Set
End Property

Private m_DistribPercentage As Decimal

<FieldInfo(GetType(DistribPercentageFieldInfo), 1)> _
Public Property DistribPercentage() As Decimal
Get
Return m_DistribPercentage
End Get
Set (value As Decimal)
m_DistribPercentage = value
End Set
End Property

Private m_CashDistribCurr As String

<FieldInfo(GetType(CashDistribCurrFieldInfo), 2)> _
Public Property CashDistribCurr() As String
Get
Return m_CashDistribCurr
End Get
Set (value As String)
m_CashDistribCurr = value
End Set
End Property

Private m_CashDistribAgentName As String

<FieldInfo(GetType(CashDistribAgentNameFieldInfo), 3)> _
Public Property CashDistribAgentName() As String
Get
Return m_CashDistribAgentName
End Get
Set (value As String)
m_CashDistribAgentName = value
End Set
End Property

Private m_CashDistribAgentCode As String

<FieldInfo(GetType(CashDistribAgentCodeFieldInfo), 4)> _
Public Property CashDistribAgentCode() As String
Get
Return m_CashDistribAgentCode
End Get
Set (value As String)
m_CashDistribAgentCode = value
End Set
End Property

Private m_CashDistribAgentAcctNumber As String

<FieldInfo(GetType(CashDistribAgentAcctNumberFieldInfo), 5)> _
Public Property CashDistribAgentAcctNumber() As String
Get
Return m_CashDistribAgentAcctNumber
End Get
Set (value As String)
m_CashDistribAgentAcctNumber = value
End Set
End Property

Private m_CashDistribPayRef As String

<FieldInfo(GetType(CashDistribPayRefFieldInfo), 6)> _
Public Property CashDistribPayRef() As String
Get
Return m_CashDistribPayRef
End Get
Set (value As String)
m_CashDistribPayRef = value
End Set
End Property

Private m_CashDistribAgentAcctName As String

<FieldInfo(GetType(CashDistribAgentAcctNameFieldInfo), 7)> _
Public Property CashDistribAgentAcctName() As String
Get
Return m_CashDistribAgentAcctName
End Get
Set (value As String)
m_CashDistribAgentAcctName = value
End Set
End Property


End Class




'Component: Trailer
Private m_Trailer As Trailer

<FieldInfo(GetType(Trailer), 13)> _
Public Property Trailer() As Trailer
Get
Return m_Trailer
End Get
Set (value As Trailer)
m_Trailer = value
End Set
End Property


End Class

